package interfance;

public class ClassB {
	
	public int method(int n)
	{
		int factorial = 1;
		for(;n >= 1; n--)
		{
			factorial = factorial * n;
		}
		return factorial;
	}

}
